/**
 * 是否按钮
 * 描述：活动标签编辑时所用
 * 调用：activity-tag-canvas
 * 构造：judgeData = [{
    key:"主键",
    label:"展示文字",
    sign:"简写图标"
    }]
 * 时间：20220402
 */
const judgeData = [{
    key:"yes",
    label:"是",
    sign:"✔"
},{
    key:"no",
    label:"不是",
    sign:"✘"
}];
/**
 * 比较按钮
 * 描述：活动标签编辑时所用
 * 调用：activity-tag-canvas
 * 构造：compareData = [{
    key:"主键",
    label:"展示文字",
    sign:"简写图标"
    }]
 * 时间：20220402
 */
const compareData = [{
    key:"gt",
    label:"大于",
    sign:">"
},{
    key:"ge",
    label:"大于等于",
    sign:">="
},{
    key:"lt",
    label:"小于",
    sign:"<"
},{
    key:"le",
    label:"小于等于",
    sign:"<="
},{
    key:"eq",
    label:"等于",
    sign:"="
},{
    key:"nq",
    label:"不等于",
    sign:"!="
},
];

const revertData = [
    {from: "✔",to:"✘"}
    ,{from: "✘",to:"✔"}
    ,{from: ">",to:"<="}
    ,{from: "<",to:">="}
    ,{from: ">=",to:"<"}
    ,{from: "<=",to:">"}
    ,{from: "=",to:"!="}
    ,{from: "!=",to:"="}
    ,{from: "in",to:"not in"}
    ,{from: "not in",to:"in"}
];
const activityTagOperation = {judgeData,compareData,revertData}
export default activityTagOperation
